.class Lcom/fiberhome/gaea/client/base/c;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/app/Application$ActivityLifecycleCallbacks;


# instance fields
.field final synthetic a:Lcom/fiberhome/gaea/client/base/ExmobiApp;


# direct methods
.method constructor <init>(Lcom/fiberhome/gaea/client/base/ExmobiApp;)V
    .locals 0

    iput-object p1, p0, Lcom/fiberhome/gaea/client/base/c;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
    .locals 0

    return-void
.end method

.method public onActivityDestroyed(Landroid/app/Activity;)V
    .locals 0

    return-void
.end method

.method public onActivityPaused(Landroid/app/Activity;)V
    .locals 0

    return-void
.end method

.method public onActivityResumed(Landroid/app/Activity;)V
    .locals 0

    return-void
.end method

.method public onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
    .locals 0

    return-void
.end method

.method public onActivityStarted(Landroid/app/Activity;)V
    .locals 5

    const/4 v4, 0x0

    sget v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/c;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    invoke-static {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b(Lcom/fiberhome/gaea/client/base/ExmobiApp;)Z

    move-result v0

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightwork/tracker/c/a/a;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    sget v2, Lcom/waiqin365/lightwork/tracker/c/a/a;->g:I

    new-instance v3, Ljava/util/Date;

    invoke-direct {v3}, Ljava/util/Date;-><init>()V

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightwork/tracker/c/a/a;-><init>(Landroid/content/Context;ILjava/util/Date;)V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/c/b;

    invoke-direct {v1, v4, v0}, Lcom/waiqin365/lightwork/tracker/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/c/a/b;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/c/b;->start()V

    :cond_0
    :goto_0
    sget v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    add-int/lit8 v0, v0, 0x1

    sput v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    return-void

    :cond_1
    new-instance v0, Lcom/waiqin365/lightwork/tracker/c/a/a;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    sget v2, Lcom/waiqin365/lightwork/tracker/c/a/a;->a:I

    new-instance v3, Ljava/util/Date;

    invoke-direct {v3}, Ljava/util/Date;-><init>()V

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightwork/tracker/c/a/a;-><init>(Landroid/content/Context;ILjava/util/Date;)V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/c/b;

    invoke-direct {v1, v4, v0}, Lcom/waiqin365/lightwork/tracker/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/c/a/b;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/c/b;->start()V

    iget-object v0, p0, Lcom/fiberhome/gaea/client/base/c;->a:Lcom/fiberhome/gaea/client/base/ExmobiApp;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->a(Lcom/fiberhome/gaea/client/base/ExmobiApp;Z)Z

    goto :goto_0
.end method

.method public onActivityStopped(Landroid/app/Activity;)V
    .locals 4

    sget v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    add-int/lit8 v0, v0, -0x1

    sput v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    sget v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->h:I

    if-nez v0, :cond_0

    sget-boolean v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->i:Z

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightwork/tracker/c/a/a;

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v1

    sget v2, Lcom/waiqin365/lightwork/tracker/c/a/a;->l:I

    new-instance v3, Ljava/util/Date;

    invoke-direct {v3}, Ljava/util/Date;-><init>()V

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightwork/tracker/c/a/a;-><init>(Landroid/content/Context;ILjava/util/Date;)V

    new-instance v1, Lcom/waiqin365/lightwork/tracker/c/b;

    const/4 v2, 0x0

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightwork/tracker/c/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/c/a/b;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/c/b;->start()V

    :cond_0
    return-void
.end method
